body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #004d40; /* 深绿色背景 */
    color: white;
}

header {
    background-color: #00695c; /* 深绿色背景 */
    padding: 10px 0;
    display: flex; /* 使用flex布局 */
    align-items: center; /* 垂直居中 */
}

#header-content {
    display: flex; /* 使用flex布局 */
    align-items: center; /* 垂直居中 */
    justify-content: space-between; /* 水平两端对齐 */
    padding: 0 20px; /* 左右内边距 */
}

#top {
    max-width: 100px; /* 图片最大宽度，可根据需要调整 */
    height: auto; /* 图片高度自动 */
}

h1 {
    margin: 0; /* 移除标题的外边距 */
}

nav {
    background-color: #00796b; /* 深绿色背景 */
    overflow: hidden;
}

nav a {
    float: left;
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

nav a:hover {
    background-color: #004d40;
}

.image-slider {
  position: relative;
  max-width: 600px;
  margin: auto;
}

.slides {
  display: flex;
  transition: transform 2.5s ease;
}

.slides img {
  display: none;
  width: 100%;
  height: auto;
  transition: opacity 2.5s ease-in-out;
}

.slides img.active {
  display: block;
  opacity: 1;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: black; /* 默认颜色为黑色 */
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: rgba(255, 255, 255, 0.8); /* 鼠标悬停时背景变白色 */
}

section {
    margin: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1); /* 半透明白色背景 */
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

footer {
    background-color: #00695c; /* 深绿色背景 */
    color: white;
    text-align: center;
    padding: 10px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    color: #00796b;
}